package cn.base.day07;

public class TeacherTest {
    public static void main(String[] args) {
        Teacher t1 = new Teacher("王五", 18);
        t1.teach();
        Teacher t2 = new Teacher();
        t2.setName("赵六");
        t2.setCode(19);
        t2.teach();
    }
}
